package springlearn;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class obj1 {

	@Value (value = "s1 = hello world")
	private String s1 ;
	@Value (value = "s2 = hello world too")
	private String s2;
	
	public void test(){
		System.out.println("the value of s1 and s2 is:"+s1+" "+s2);
	}
}
